@model ShivamEMR.Model.Domain.ContactsDomain.Country

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Country</legend>

    <div class="display-label">Code</div>
    <div class="display-field">@Model.Code</div>

    <div class="display-label">ShortName</div>
    <div class="display-field">@Model.ShortName</div>

    <div class="display-label">FullName</div>
    <div class="display-field">@Model.FullName</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">CallingCode</div>
    <div class="display-field">@Model.CallingCode</div>

    <div class="display-label">WebSite</div>
    <div class="display-field">@Model.WebSite</div>

    <div class="display-label">Nationality</div>
    <div class="display-field">@(Model.Nationality == null ? "None" : Model.Nationality.Title)</div>

    <div class="display-label">Cities</div>
    <div class="display-field">@(Model.Cities == null ? "None" : Model.Cities.Count.ToString())</div>

    <div class="display-label">Territories</div>
    <div class="display-field">@(Model.Territories == null ? "None" : Model.Territories.Count.ToString())</div>

    <div class="display-label">CulturesAndRegions</div>
    <div class="display-field">@(Model.CulturesAndRegions == null ? "None" : Model.CulturesAndRegions.Count.ToString())</div>

    <div class="display-label">Flag</div>
    <div class="display-field">@(Model.Flag == null ? "None" : Model.Flag.Title)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


